package com.dingreading.cloud.mall.mapper;

import com.alibaba.fastjson.JSONObject;
import com.dingreading.cloud.mall.entity.ShopCart;
import com.mybatisflex.core.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 映射层。
 *
 * @author Administrator
 * @since 2023-11-22
 */
public interface ShopCartMapper extends BaseMapper<ShopCart> {

    Integer getWaitSendNum(@Param("goodsTypeId") Long goodsTypeId);

    List<JSONObject> getWaitSendNumList(@Param("goodsTypeIds") List<Long> goodsTypeIds);
}
